home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
VESCAPE1.S
< prev
next >
Wrap
Text File
|
1993-03-25
|
2KB
|
85 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*-----------------------------------------------------------------------
;* Some VDI escapes, as usual glommed together because they all take
;* the same sorts of parms (intin only) and it only costs a few bytes
;* to put them all together here like this.
;*-----------------------------------------------------------------------
globl _v_escape2000
_v_escape2000:
move.w #2000,d0
moveq.l #1,d1
bra do_it
globl _vs_mute
_vs_mute:
moveq.l #62,d0
moveq.l #31,d1
bra do_it
globl _vsc_expose
_vsc_expose:
moveq.l #93,d0
moveq.l #1,d1
bra do_it
globl _vt_alignment
_vt_alignment:
moveq.l #85,d0
moveq.l #2,d1
bra do_it
globl _vsp_film
_vsp_film:
moveq.l #91,d0
moveq.l #2,d1
bra do_it
globl _vt_origin
_vt_origin:
moveq.l #83,d0
moveq.l #2,d1
bra do_it
globl _v_sound
_v_sound:
moveq.l #61,d0
moveq.l #2,d1
bra do_it
globl _vs_curaddress
_vs_curaddress:
moveq.l #11,d0 ; subfunc 11
moveq.l #2,d1 ; 2 intin parms on stack
; fall thru into do_it
do_it:
; .cargs #8,handle.w,intins.w
handle = 8
intins = 10
link a6,#-2
; VContrl #5,d0,,d1
move.w handle(a6),-(sp) ; contrl[6]
move.w d0,-(sp) ; contrl[5]
subq.l #2,sp ; contrl[4]
move.w d1,-(sp) ; contrl[3]
subq.l #2,sp ; contrl[2]
clr.w -(sp) ; contrl[1]
move.w #5,-(sp) ; contrl[0]
subq.l #4,sp ;* -> ptsout
pea -2(a6) ;* -> intout
subq.l #4,sp ;* -> ptsin
pea intins(a6) ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end